package gam.n1;


import gam.n1.areas.Area;
import gam.n1.areas.AreaManager;
import org.bukkit.entity.Player;

public class AreaAPI {
//    public static Area createNewArea(@NotNull UUID PlayerUuid, @NotNull String AreaName, @NotNull Location a1, @NotNull Location b1){
//        Bukkit.getScheduler().runTaskAsynchronously(Consumer)
//    }
    public static boolean isPlayerInGame(Player player){
        return AreaManager.iP(player);
    }
    public static boolean getPlayerJoin(Area area,Player player){
        return area.join(player);
    }
}
